package com.mcc.app.materials.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 物料管理对象 sinter_materials
 *
 * @author gxy
 * @date 2025-04-03
 */
@ApiModel("物料管理对象")
@Data
public class SinterMaterials implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("物料编码")
    private String materialCode;

    @ApiModelProperty("物料名称")
    private String materialName;

    @ApiModelProperty("物料类型，1为原料，2为溶剂，3为燃料，4为其他")
    private Integer materialCategory;

    @ApiModelProperty("单价")
    private Long price;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createDt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private Date updateDt;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("修改人")
    private String updateBy;

    @ApiModelProperty("备注")
    private String remark;

}
